Table D–5: 4GL data type cast—DECIMAL
|
For this XML Schema type...
|
In this 4GL parameter mode...
|
OpenEdge...
|
|
|
|
Serializes the 4GL parameter into the SOAP request message according to the XML Schema serialization rules.
|
|
|
De-serializes the string value from the SOAP response message into the 4GL parameter as if the 4GL DECIMAL( ) function was called on the string.
|
|
|
|
Serializes a 4GL DECIMAL value of 0 to false and all other values for the 4GL parameter to true.
|
|
|
De-serializes a value of false to a 4GL DECIMAL value of 0, and de-serializes a value of true to a DECIMAL value of 1.
|
|
|
|
Serializes the 4GL parameter into the SOAP request message according to the XML Schema serialization rules.
|
|
|
De-serializes the XML Schema value into the 4GL parameter according to the XML Schema serialization rules. If the XML Schema decimal value overflows the 4GL DECIMAL, OpenEdge raises a run-time error.
|
|
|
|
Serializes the 4GL DECIMAL value according to XML Schema serialization rules. Some of the least significant digits might be lost.
|
|
|
De-serializes the XML Schema value to the equivalent 4GL DECIMAL value. If the value is outside the range of the 4GL DECIMAL, OpenEdge raises a run-time error.
|
|
|
|
Rounds the 4GL DECIMAL value to an integer and serializes the result based on the serialization rules for the XML Schema type. Data might be lost. If the DECIMAL value is outside the valid range of the XML Schema type, OpenEdge raises a run-time error.
|
|
|
De-serializes the XML Schema value into the 4GL parameter as if the 4GL DECIMAL( ) function was called on the value. If the value in the SOAP response message is outside the range of the DECIMAL type, OpenEdge raises a run-time error.
|